﻿using SqlSugar;

namespace ReportDesignerServer.DataModel
{
    /// <summary>
    /// DictPrintModelDataSrc
    /// </summary>
    [SugarTable("DICT_PRINT_MODEL_DATASRC")]
    public class DictPrintModelDataSrc
    {
        [SugarColumn(IsPrimaryKey = true, ColumnName = "ID")]
        public string Id { get; set; }

        [SugarColumn(ColumnName = "PRINTMODELNAME", IsNullable = true)]
        public string? PrintModelName { get; set; }

        [SugarColumn(ColumnName = "DATASOURCENAME", IsNullable = true)]
        public string? DataSourceName { get; set; }

        [SugarColumn(ColumnName = "DATASOURCEENNAME", IsNullable = true)]
        public string? DataSourceEnName { get; set; }

        [SugarColumn(ColumnName = "MODELREPX", IsNullable = true)]
        public string? ModelRepx { get; set; }

        [SugarColumn(ColumnName = "MODELXRNAME", IsNullable = true)]
        public string? ModelXrName { get; set; }

        [SugarColumn(ColumnName = "DATASRCNO", IsNullable = true)]
        public int? DataSrcNo { get; set; }

        [SugarColumn(ColumnName = "DATASRCTYPE", IsNullable = true)]
        public int? DataSrcType { get; set; }

        [SugarColumn(ColumnName = "DATASETSQL", IsNullable = true)]
        public string? DataSetSql { get; set; }

        [SugarColumn(ColumnName = "DATASOURCEBING", IsNullable = true)]
        public string? DataSourceBing { get; set; }

        [SugarColumn(ColumnName = "INTERFACECODE", IsNullable = true)]
        public string? InterfaceCode { get; set; }
    }
}
